@import '~antd/lib/style/themes/default.less';

:global {
  *, :after, :before {
    box-sizing: border-box;
  }

  * {
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
  }

  article, aside, blockquote, body, button, dd, details, div, dl, dt, fieldset, figcaption, figure, footer, form, h1, h2, h3, h4, h5, h6, header, hgroup, hr, input, legend, li, menu, nav, ol, p, section, td, textarea, th, ul {
    margin: 0;
    padding: 0;
  }

  div {
    display: block;
  }

  body {
    font-family: Helvetica Neue, Helvetica, PingFang SC, Hiragino Sans GB, Microsoft YaHei, \\5FAE\8F6F\96C5\9ED1, Arial, sans-serif;
    font-size: 12px;
    line-height: 1.5;
    color: #495060;
    background-color: #e9e9e9;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
  }

  .window {
    box-shadow: 1px 1px 20px -5px #000;
    max-width: 450px;
    background: #F5F5F5;
    margin: auto;
    overflow: hidden;
    padding: 0;
    height: 100%;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 101;
  }

  .switch {
    position: absolute;
    top: 58px;
    right: 25px;
    color: #fff;
    vertical-align: middle;
    z-index: 103;
    background: rgba(0, 0, 0, 0.4);
    padding: 6px;
    border-radius: 7px;
  }

  .ivu-switch {
    width: 48px;
    height: 24px;
    line-height: 22px;
    border-radius: 24px;
    vertical-align: middle;
    border: 1px solid #ccc;
    background-color: #ccc;
    position: relative;
    cursor: pointer;
    user-select: none;
    transition: all .2s ease-in-out;
  }

  .ivu-switch:after {
    content: "";
    width: 20px;
    height: 20px;
    border-radius: 20px;
    background-color: #fff;
    position: absolute;
    left: 1px;
    top: 1px;
    cursor: pointer;
    transition: left .2s ease-in-out, width .2s ease-in-out;
  }

  .ivu-checkbox-group-item, .ivu-switch {
    display: inline-block;
  }

  .ivu-switch-inner {
    color: #fff;
    font-size: 12px;
    position: absolute;
    left: 25px;
  }

  .ivu-btn {
    display: inline-block;
    margin-bottom: 0;
    font-weight: 400;
    text-align: center;
    vertical-align: middle;
    touch-action: manipulation;
    cursor: pointer;
    background-image: none;
    border: 1px solid transparent;
    white-space: nowrap;
    line-height: 1.5;
    user-select: none;
    padding: 6px 15px;
    font-size: 12px;
    border-radius: 4px;
    transition: color .2s linear, background-color .2s linear, border .2s linear;
    color: #495060;
    background-color: #f7f7f7;
    border-color: #dddee1;
  }

  .ivu-btn:before {
    position: absolute;
    top: -1px;
    left: -1px;
    bottom: -1px;
    right: -1px;
    background: #fff;
    opacity: .35;
    content: "";
    border-radius: inherit;
    z-index: 1;
    transition: opacity .2s;
    pointer-events: none;
    display: none;
  }

  .ivu-btn, .ivu-input, .ivu-input-number, .ivu-page-item, .ivu-page-item-jump-next, .ivu-page-item-jump-prev, .ivu-page-next, .ivu-page-options-elevator input, .ivu-page-prev, .ivu-select-dropdown, .ivu-select-selection {
    border-radius: 2px;
  }

  .ivu-btn-circle, .ivu-btn-circle-outline {
    border-radius: 32px;
  }

  .ivu-btn, .ivu-btn:active, .ivu-btn:focus {
    outline: 0;
  }

  .ivu-btn-small {
    padding: 0 6px;
    font-size: 12px;
    border-radius: 3px;
  }

  .delerecommend {
    position: absolute;
    background: #2d8cf0;
    border-radius: 2px;
    right: 0;
  }

  .ivu-btn-primary {
    color: #fff;
    background-color: #2d8cf0;
    border-color: #2d8cf0;
  }

  .recommend-all {
    top: 100px;
    right: 25px;
    padding: 4px;
  }

  .container-main {
    margin: 0 auto;
    overflow: auto;
    overflow-x: hidden;
    padding: 0;
  }

  .container-main, .loading-discoveries {
    box-shadow: 1px 1px 20px -5px #000;
    max-width: 450px;
    background: #fff;
    margin: 0 auto;
    overflow: auto;
    padding: 0;
    height: 100%;
    position: relative;
    z-index: 101;
  }

  .container-main .title {
    background: #000;
    text-align: center;
    color: #fff;
    width: 100%;
    height: 50px;
    line-height: 50px;
    font-size: 14px;
  }

  .header {
    position: relative;
    top: 0;
    left: 0;
    width: 100%;
    background-color: #fff;
    z-index: 1;
  }

  .cover {
    position: relative;
    width: 100%;
    overflow: hidden;
    height: 240px;
  }

  .load {
    position: absolute;
    bottom: -17px;
    right: 20px;
  }

  .load .loadName {
    float: left;
    line-height: 74px;
    margin-right: 17px;
    font-size: 15px;
    color: #fff;
  }

  button.loadHeader {
    width: 74px;
    height: 74px;
    background-size: cover;
    background-color: #eee;
    background-position: center center;
    border: .2rem solid #fff;
    float: right;
    box-sizing: border-box;
    box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.1);
  }

  .sign {
    position: absolute;
    margin-top: 26px;
    font-size: 13px;
    color: #565656;
    width: 80%;
    right: 20px;
    text-align: right;
  }

  .detail {
    position: relative;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1;
    padding: 50px 0 5px 0;
    box-sizing: border-box;
    margin: 0 auto;
  }

  .detail .line {
    position: relative;
    width: 100%;
    margin-top: 18px;
    padding: 0 16.5px 15px 16.5px;
    font-size: 15px;
    box-sizing: border-box;
    min-height: 120px;
    display: block;
  }

  .an-move-left {
    animation: moveLeft-data-v-480888af .7s ease;
    -webkit-animation: moveLeft-data-v-480888af .7s ease;
  }

  .pean {
    zoom: 1;
  }

  .detail .line .header {
    float: left;
    width: 42px;
    height: 42px;
    margin-right: 8px;
    background-color: #eee;
    background-size: cover;
  }

  .info {
    float: left;
    position: relative;
    font-size: 15px;
    width: 85%;
  }

  .info .name {
    height: 20px;
    line-height: 20px;
    margin-bottom: 4px;
    color: #576b95;
  }

  .info .text {
    color: #000;
    margin-bottom: 8px;
    line-height: 1.2;
  }

  .info .link {
    position: relative;
    overflow: hidden;
    margin-bottom: 10px;
    width: 100%;
    cursor: pointer;
  }

  .info .link .LArea {
    width: 100%;
    height: 50px;
    overflow: hidden;
    padding: 5px;
    background-color: #f3f3f5;
    box-sizing: border-box;
    font-size: 13px;
    color: #383838;
  }

  .info .link .LArea .LImage {
    width: 40px;
    height: 40px;
    background-size: cover;
    background-position: center;
    background-color: #fff;
    float: left;
    margin-right: 5px;
    font-size: 12px;
    color: #7482a0;
    text-align: center;
    line-height: 40px;
    letter-spacing: -1px;
  }

  .info .link .LArea .LText {
    height: 40px;
    display: table-row;
  }

  .info .link .LArea .LText .LTextValign {
    display: table-cell;
    vertical-align: middle;
  }

  .info .link .LArea .LText .LTextValign div {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
  }

  .link-img {
    width: 100%;
    vertical-align: middle;
  }

  .position {
    color: #576b95;
    font-size: 12px;
    margin-bottom: 5px;
  }

  .info .time {
    color: #737373;
    font-size: 12px;
  }

  .time .icon {
    float: right;
    width: 19px;
    height: 14px;
    background-image: url('/public/comment.jpg');
    background-size: cover;
    margin-top: 1px;
  }

  .comment {
    animation: fadeIn-data-v-480888af .4s;
    -webkit-animation: fadeIn-data-v-480888af .4s;
    position: relative;
    float: right;
    width: 100%;
    background-color: #f3f3f5;
    color: #000;
    margin-top: 13px;
  }

  .triangleIcon {
    border-width: 8px;
    border-style: solid dashed dashed;
    border-color: transparent transparent #f3f3f5 transparent;
    position: absolute;
    top: -14px;
    left: 9px;
  }

  .CComment {
    position: relative;
    padding: 10px 10px 3px 10px;
    color: #111;
    line-height: 1.2;
  }

  .CArea {
    font-size: 0;
    margin-bottom: 6px;
  }

  .CArea .CAreaName {
    color: #576b95;
  }

  .CArea span, .CArea .inline {
    font-size: 14px;
    word-wrap: break-word;
    word-break: break-all;
    display: inline;
  }

  .info .image, .info .video {
    overflow: hidden;
    margin-bottom: 10px;
  }

  .oneImgList {
    width: 100%;
    margin-bottom: -10px;
  }

  .oneImgList .img-li {
    width: 32.33%;
    margin-right: 3px;
    margin-bottom: 3px;
    display: inline-block;
    overflow: hidden;
    vertical-align: middle;
  }

  .discover-img {
    width: 100%;
    position: relative;
    cursor: pointer;
    background-size: cover;
    background-position: center center;
  }

  .discover-img:after {
    content: "";
    display: block;
    padding-bottom: 100%;
  }

  .detail .line:after {
    bottom: 0;
    background: #e1e1df;
  }

  .detail .line:after, .comment .like:after, .CComment:after {
    content: '';
    position: absolute;
    left: 0;
    width: 100%;
    height: 1px;
    -webkit-transform: scaleY(0.5);
    transform: scaleY(0.5);
    -webkit-transform-origin: 0 0;
    transform-origin: 0 0;
  }

  .pean:after {
    clear: both;
    content: '.';
    display: block;
    width: 0;
    height: 0;
    visibility: hidden;
  }

  .container-discoveries {
    width: 100%;
    height: 100%;
    z-index: 100;
    position: fixed;
    left: 0;
    top: 0;
    overflow: hidden;
  }

  .shadow-discoveries {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 100;
    width: 100%;
    height: 100%;
    background: #000;
    opacity: .2;
  }
}
